let app = getApp()
let utils = app.utils


Page({
    onLoad() {
        console.log(utils.randomNum(0,10));
        app.request.test().then(res => {
            console.log(res)
        }).catch(e => {
            console.error(e)
        })
    },
    onShareAppMessage() {
        return {
            title: 'iView Weapp',
            imageUrl: 'https://file.iviewui.com/iview-weapp-logo.png'
        };
    },
});